package com.youlai.boot.stepsPlan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.stepsPlan.model.entity.UserStepsPlan;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.stepsPlan.model.query.UserStepsPlanQuery;
import com.youlai.boot.stepsPlan.model.vo.UserStepsPlanVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户每日步数计划Mapper接口
 *
 * @author cuisheng
 * @since 2025-03-31 22:59
 */
@Mapper
public interface UserStepsPlanMapper extends BaseMapper<UserStepsPlan> {

    /**
     * 获取用户每日步数计划分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<UserStepsPlanVO> getUserStepsPlanPage(Page<UserStepsPlanVO> page, UserStepsPlanQuery queryParams);

}
